package easy;

public class Solution_338 {

    public int[] countBits(int n) {
        int[] res = new int[n + 1];
        for (int i = 1; i <= n; i++) {
            res[i] = res[i >>> 1] + i % 2;
        }
        return res;
    }

    public static void main(String[] args) {
        /*Solution_338 model = new Solution_338();
        int[] ints = model.countBits(5);
        for (int anInt : ints) {
            System.out.print(anInt + " ");
        }*/
        System.out.println(-17%16);
    }
}
